clear
set more off

local path0="C:\Dropbox\GeneticsProject (1)\REStat\round_accepted_replication_files\"

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
use "`path0'Data\Maddison\Maddison_data.dta", clear

label var  maddison1500 	"Maddison: GDP per capita in 1500"
label var  maddison1600 	"Maddison: GDP per capita in 1600"
label var  maddison1700 	"Maddison: GDP per capita in 1700"
label var  maddison1820 	"Maddison: GDP per capita in 1820"
label var  maddison1870 	"Maddison: GDP per capita in 1870"
label var  maddison1900 	"Maddison: GDP per capita in 1900"
label var  maddison2001 	"Maddison: GDP per capita in 2001"

foreach var in  maddison1500 maddison1600 maddison1700 maddison1820 maddison1870 maddison1900 maddison2001 {
	gen LN`var'=log(`var')
}
	
label var  LNmaddison1500 	"Maddison: log GDP per capita in 1500"
label var  LNmaddison1600 	"Maddison: log GDP per capita in 1600"
label var  LNmaddison1700 	"Maddison: log GDP per capita in 1700"
label var  LNmaddison1820 	"Maddison: log GDP per capita in 1820"
label var  LNmaddison1870 	"Maddison: log GDP per capita in 1870"
label var  LNmaddison1900 	"Maddison: log GDP per capita in 1900"
label var  LNmaddison2001 	"Maddison: log GDP per capita in 2001"



desc
sum


compress
save "`path0'Workfiles\Maddison.dta", replace

